package com.supplychain.scm.core.common.annotation;

import com.supplychain.scm.core.basis.constant.StringPool;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName SonTransaction
 * @Description 多线程事务注解: 子事务 须配合@Transactional(rollbackFor = Exception.class)一起使用
 * @createTime 16:17:00 2023/07/05
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface SonTransaction {

    String value() default StringPool.EMPTY;
}
